mm: don't poison a page if scrub_debug is off
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 1 Sep 2017 09:06:03 +0000 (11:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Sep 2017 09:06:03 +0000 (11:06 +0200)
commitf65bf735f17235c5077c83550259cacf4090b28b
tree0615c98a004705ea56a96e5f2179791906119033
parent845a7c89687a10fc2427ab078d7d13403662bcf7
mm: don't poison a page if scrub_debug is off

If scrub_debug is off we don't check pages in check_one_page().
Thus there is no reason to ever poison them.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/common/page_alloc.c